﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared.Master" AutoEventWireup="true"
    CodeBehind="customadd.aspx.cs" Inherits="Lawyer.Web.customadd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="main-content">
        <header>
                            <h2>Contact</h2>
                        </header>
        <section class="container_6 clearfix">
                            <!-- Forms Section -->
                            <div class="grid_3">
                                <div class="portlet">
                                    <header>
                                        <h2>New Contact</h2>
                                    </header>
                                    <section class="form has-validation">
                                            <div class="clearfix">
                                                <label for="form-name" class="form-label">Full Name <em>*</em><small>Enter your 
                                                fullname</small></label>
                                                <div class="form-input"><asp:TextBox ID="txbFullName" required="required" runat="server"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-name" class="form-label">Email <em>*</em><small>Enter your 
                                                email</small></label>
                                                <div class="form-input"><asp:TextBox ID="txbEmail" required="required" runat="server"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-gender" class="form-label">Gender<em>*</em><small>Male or 
                                                female?</small></label>
                                                <div class="form-input">
                                                    <asp:RadioButtonList ID="rblGender" runat="server" RepeatLayout="Flow" >
                                                        <asp:ListItem Text="Male" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Female" Value="2"></asp:ListItem>
                                                    </asp:RadioButtonList>                                                
                                                </div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-birth" class="form-label">Birthdate<em>*</em><small>mm/dd/yyyy</small></label>
                                                <div class="form-input"><asp:TextBox ID="txbBirthday" type="date" required="required" runat="server" name="date" CssClass="datepicker"></asp:TextBox></div>
                                            </div>
                                            
                                            <div class="clearfix">
                                                <label for="form-username" class="form-label">Telphone <em>*</em><small>Enter 
                                                your telphone</small></label>
                                                <div class="form-input"><asp:TextBox id="txtTelphone" required="required" runat="server" Width="200px"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-username" class="form-label">Fax <small>Enter your fax</small></label>
                                                <div class="form-input"><asp:TextBox id="txtFax" runat="server" Width="200px"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-name" class="form-label">City <small>Enter your city</small></label>
                                                <div class="form-input"><asp:TextBox id="txtCity" runat="server" Width="200px"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-password" class="form-label">Address<small>Your address</small></label>
                                                <div class="form-input"><asp:TextBox id="txtAddress" runat="server" Width="200px"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix" style="display:none;">
                                                <label for="form-password" class="form-label">Type<small>Public or personal?</small></label>
                                                <div class="form-input">
                                                    <asp:RadioButtonList ID="ckbType" runat="server" RepeatLayout="Flow" >
                                                        <asp:ListItem Text="Personal" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Public" Value="1"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </div>
                                            </div>
                                            <div class="clearfix" style="display:none;">
                                                <label for="form-password-check" class="form-label">Avatar<small>Upload your 
                                                user avatar</small></label>
                                                <div class="form-input"><asp:TextBox id="txtAvatarURL" runat="server" Width="200px"></asp:TextBox></div>
                                            </div>
                                            

                                            <div class="form-action clearfix">
                                                <asp:Button CssClass="large button-gray ui-corner-all" ID="btnSubmit" runat="server" Text="OK" onclick="btnSubmit_Click"></asp:Button>
                                               
                                                <input class="large button-gray ui-corner-all"  type="button" value="Go back"  onclick="javascript:history.go(-1);"/>

                                            </div>
                                    </section>
                                </div>
                            </div>
                            <!-- End Forms Section -->

                        </section>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideBar" runat="server">
    <nav>
    <a class="chevron" href="#">»</a>
    <ul>
         <li class="current"><a href="customadd.aspx">New Contact</a></li>
        <li><a href="contacts.aspx">My Contacts</a></li>
        <li><a href="customlist.aspx">Other Contacts</a></li>
    </ul>
</nav>
</asp:Content>
